/**
 * 键位代码
 */
export const KEYBORD_KEY = {
  ESC: 0x01,
  BACKSPACE: 0x0E,

  TAB: 0x0F,

  LCTRL: 0x1D,
  RCTRL: 0x9D,

  LSHIFT: 0x2A,
  RSHIFT: 0x36,

  LALT: 0x38,
  RALT: 0xB8,

  SPACE: 0x39,

  CAPSLOCK: 0x3A,
  DELETE: 0xD3,

  UP: 0xC8,
  LEFT: 0xCB,
  RIGHT: 0xCD,
  DOWN: 0xD0,

  1: 0x02,
  2: 0x03,
  3: 0x04,
  4: 0x05,
  5: 0x06,
  6: 0x07,
  7: 0x08,
  8: 0x09,
  9: 0x0A,
  0: 0x0B,

  NUM0: 0x52,
  NUM1: 0x4F,
  NUM2: 0x50,
  NUM3: 0x51,
  NUM4: 0x4B,
  NUM5: 0x4C,
  NUM6: 0x4D,
  NUM7: 0x47,
  NUM8: 0x48,
  NUM9: 0x49,

  F1: 0x3B,
  F2: 0x3C,
  F3: 0x3D,
  F4: 0x3E,
  F5: 0x3F,
  F6: 0x40,
  F7: 0x41,
  F8: 0x42,
  F9: 0x43,
  F10: 0x44,
  F11: 0x57,
  F12: 0x58,

  Q: 0x10,
  W: 0x11,
  E: 0x12,
  R: 0x13,
  T: 0x14,
  Y: 0x15,
  U: 0x16,
  I: 0x17,
  O: 0x18,
  P: 0x19,
  A: 0x1E,
  S: 0x1F,
  D: 0x20,
  F: 0x21,
  G: 0x22,
  H: 0x23,
  J: 0x24,
  K: 0x25,
  L: 0x26,
  Z: 0x2C,
  X: 0x2D,
  C: 0x2E,
  V: 0x2F,
  B: 0x30,
  N: 0x31,
  M: 0x32,

  NONE: 0x00,
  MINIMUMKEY: 0x01,
  MINUS: 0x0C,
  EQUAL: 0x0D,
  LBRACKET: 0x1A,
  RBRACKET: 0x1B,
  RETURN: 0x1C,
  SEMICOLON: 0x27,
  APOSTROPHE: 0x28,
  GRAVE: 0x29,
  BACKSLASH: 0x2B,
  COMMA: 0x33,
  PERIOD: 0x34,
  SLASH: 0x35,
  NUMPADSTAR: 0x37,
  PAUSE: 0x45,
  SCRLOCK: 0x46,
  NUMPADMINUS: 0x4A,
  NUMPADADD: 0x4E,
  NUMPADPERIOD: 0x53,
  NUMPADENTER: 0x9C,
  NUMPADCOMMA: 0xB3,
  NUMPADSLASH: 0xB5,
  SYSRQ: 0xB7,
  NUMLOCK: 0xC5,
  HOME: 0xC7,
  PAGEUP: 0xC9,
  END: 0xCF,
  PAGEDOWN: 0xD1,
  INSERT: 0xD2,
  LWIN: 0xDB,
  RWIN: 0xDC,
  APPS: 0xDD,
}